package com.sky.Constructor;

public class Student {
    String name;
    double score;

    //建立构造器
    public Student(){
        System.out.println("无参数构造器执行了");
    }

    public Student(String name , double score){
        System.out.println("有参数构造器执行了");
        this.name = name;
        this.score = score;
    }
}
